<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html><head>
<meta charset="utf-8">
<link href="/Public/css/Home/login.css" rel="stylesheet" type="text/css">
<link href="/Public/css/Home/base.css" rel="stylesheet" type="text/css">
<link href="/Public/css/Home/header.css" rel="stylesheet" type="text/css">
<link href="/Public/css/Home/footer.css" rel="stylesheet" type="text/css">
<script src="/Public/js/Home/jquery-1.7.1.min.js" type="text/javascript"></script>
<title>新起点(辽宁)财税咨询服务有限公司</title>
</head>


<body>
<!--头部开始-->
<div class="page_header">
<div class="header_top bgblue">
    <div class="header_topT contact">
        <div class="header_topL">您好：欢迎进入新起点(辽宁)财税咨询服务官网</div>	
		<?php if(session('LOGIN_USERID') != ''): ?><div class="header_topR">
            <span>你好，<?php echo session('LOGIN_USERNAME');?></span><span>|</span>
            <a href="<?php echo U('user/index');?>">个人中心</a><span>|</span>
            <a href="javascript:void(0);">消息（1）</a><span>|</span>
            <a href="javascript:void(0);">在线客服</a><span>|</span>
            <a href="<?php echo U('index/logout');?>">退出</a>
        </div><?php endif; ?>
    </div>
    <div class="clean"></div>
</div>
<!--头部结束-->

<!--logo开始-->
<div class="header contact">
    <div class="header_logo">
    	<div class="header_logoimg" style="cursor:pointer" onclick="window.location.href='/'" ><img src="/Public/image/Home/logo.jpg"></div>
        <div class="header_text">
		<?php if(CONTROLLER_NAME.'/'.ACTION_NAME == 'Index/login'): ?>欢迎登录<?php endif; ?>
		<?php if(CONTROLLER_NAME.'/'.ACTION_NAME == 'Index/register'): ?>用户注册<?php endif; ?>
		<?php if(CONTROLLER_NAME.'/'.ACTION_NAME == 'Index/forget_pwd'): ?>找回密码<?php endif; ?>
		<?php if(CONTROLLER_NAME.'/'.ACTION_NAME == 'Index/reset_pwd'): ?>找回密码<?php endif; ?>
		</div>
    	<div class="header_logotel"><img src="/Public/image/Home/header_tel.jpg"></div>
        <div class="clean"></div>
    </div>
</div>
<!--logo结束-->
</div>
<!----------------------------------------------------------------导航线结束---------------------------------------------------------------->

<div class="login_bg">
<div class="login_contact">
    <div class="login_transparent">
    <div class="password_reset">
    	<div class="title">重置密码</div>
    	<div class="box">
		<form action="/Home/Index/sub_reset_pwd" method="post" id="form">
		<input type="hidden" name="username" value="<?php echo ($username); ?>" />
        	<div class="form">
            	<div class="form_name">新密码</div>
                <div class="form_M"><input class="input-control" type="password" name="npassword" id="npwd" placeholder="请输入新密码"> </div>
                <div class="clean"></div>
            </div>

        	<div class="form">
            	<div class="form_name">确认密码</div>
                <div class="form_M"><input class="input-control" type="password" name="rpassword" id="rpwd" placeholder="请再次输入密码"> </div>
                <div class="clean"></div>
            </div>          
            
            <div class="btn btncommonhover" onclick="sub_reset_pwd();">完成</div>
		</form>
            <div class="text">返回首页，<a href="/Home/Index/login">重新登录</a></div>
        </div>
    </div>
    </div>
</div>
</div>

<!----------------------------------------------------------------内容结束---------------------------------------------------------------->
<script>
	function sub_reset_pwd(){
		var npwd=$("#npwd").val();
		var rpwd=$("#rpwd").val();
		if(!npwd.replace(/\s+/g, "")) 
       { 
           alert('密码不能为空'); 
           document.getElementById("npwd").focus();
           return false; 
       }
	   if(npwd.length<6){
			alert('密码长度必须6位以上！'); 
           document.getElementById("npwd").focus();
           return false;
	   }
	   if(npwd!=rpwd){
			alert('俩次密码必须相同！'); 
           document.getElementById("npwd").focus();
           return false;
	   }
		$("#form").submit();
	}

	
</script>

<!--尾部开始-->
<div class="footer">
	<div class="footreC contact">
    
 	 	<div class="footreC_left">
        	<div class="footreC_leftT">
            	<a href="/Partner/index">寻找合伙人</a>
                |
                <a href="/Apply/index">创业投资</a>
                |
                <a href="/Project/index">创业项目</a>
                |
                <a href="/Service/index">一站式服务</a>
                |
                <a href="/Activity/index">活动专区</a>
                |
                <a href="/service/about">关于我们</a>
            </div>
            <div class="footreC_leftX"></div><div class="footreC_leftS"></div>
            
            <div class="footerC_leftB">
            <p>版权归&nbsp;&nbsp;&nbsp;新起点（辽宁）财税咨询服务有限公司所有&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ICP备案编号：正在进行备案</p>
            <p>地址：沈阳市沈河区银河国际A座17楼&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
               咨询电话：400-805-2838 / 87267777 / 13386896688&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
               Email:1966914080@qq.com</p>
            </div>
        </div>
        
        <div class="footreC_right">扫一扫，加关注<img src="/Public/image/Home/erweima.jpg" width="101" height="101"></div>
    </div>
</div>
<!--尾部结束-->

<!--浮动开始-->
<div id="fudong">
	<div class="fudong"><a class="one" href="#"></a><a class="two" href="#"></a></div>
</div>
<!--浮动结束-->

</body>
</html>